%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<% sql="select * from prod where 1=1" id=request.QueryString("id") imgprodPath="imgprod/" if id<>"" then sql=sql&" and articleid="&id end if sql=sql&" order by orderid desc" rs.open sql,conn,1,1 if not (rs.eof or rs.bof) then smallpicurl="images/z04.jpg" if rs("smallpicurl")<>"" then smallpicurl=imgprodPath&rs("smallpicurl") end if bigpicurl=imgprodPath&rs("bigpicurl") prodid=rs("articleid") prodname=rs("prodname") if rs("specialid")<>"" and rs("specialid")>0 then specialname=myidv2("ProdSpecial","specialid",rs("specialid"),"specialname") end if xinghao=rs("xinghao") yongtu=rs("yongtu") chandi=rs("tedian") tedian=rs("tedian") end if rs.close set rs=nothing %>![]() |
|||||||||||||
|